that users can respond to any dialog boxes created to handle the WM_CLOSE message.
If the return value is WAIT_OBJECT_0, the application has cleanly closed itself. If the return value is Wait_timeout, you must close the application using TerminateProcess ().
Note: If the return value obtained from WaitForSingleObject () is not wait_object_0 or wait_timeout, you should use GetLastError () to find out why. By performing these steps, you are completely likely to cleanly shut down the application
Token provides support for all types of programs in the system, including 32-bit and 16-bit! The correct 16-bit DOS command window is provided by command.exe. In WinXP, the file is located in the System Disk \ Windows \ hosts process to provide support for DOS Virtual machines (NT Virtual DOS Machine (NTVDM) under NT ). Therefore, we can say that Win × P has completely escaped the 16-bit DOS dependency. The so-called DOS program running environment on
); Dwprocessid is the 16-bit task process identifier to be enumerated in NTVDM. The FP parameter is a pointer to the callback enumeration function. The parameter lparam is a user-defined value and is passed to the enumeration function. Enumeration functions should be defined as follows: Bool winapi enum16 (DWORD dwthreadid, word hmod16, word htask16, psz pszmodname, psz pszfilename, lparam lpuserdefined ); This function is called once for each 16-b
APIs. Windows NT subsystems support the following APIs:
Win32 subsystem. The Win32 subsystem provides Win32 APIs. Applications using Win32 APIs can run on all platforms provided by Microsoft-
Wow subsystem. Windows on Windows (WOW) subsystem provides compatibility with 16-bit Windows applications so that Win16 applications can run on Windows NT. These applications can run as long as they do not use undisclosed functions not supported by Windows NT.
functions that cannot be used in the graphic environment must be used.CMD ------ view the Java Virtual Machine version in JView.
Command.com ------ the call is the built-in NTVDM of the system, a DOS virtual machine. It is a virtual environment similar to Virtual PC and has little connection with the system itself. When we run the DOS program at the command prompt, it is actually automatically transferred to the
---- check whether XP is activatedLusrmgr. msc ---- local users and groupsLogoff --------- logout command
Iexpress ------- Trojan bundle tool, which comes with the System
NSLookup ------- IP address Detector
Fsmgmt. msc ----- Shared Folder Manager
Utilman -------- auxiliary tool Manager
Gpedit. msc ----- Group PolicyCommand list in XP.
$ Systemroot $ documents and settingsusername under the Directory
Appwiz. Cpl ------------ add and delete a program
Control userpasswords2 -------- user account
They have essential differences: 1: A 16 DoS
ProgramOne is a standard 32 windows application. the former is still subject to 64 kB memory segments, and the latter uses 4 GB memory address space without worry. they are originally run on different operating systems. don't confuse them. the DOS program can run on Windows because NTVDM exists. however, if you put the console program generated by VC under DOS, you will only get it !? This program cannot b
prompt can be thought of as an attachment to Windows that ping,convert these features that cannot be used in a graphical environment.CMD------jview View the Java Virtual Machine version.Command.com------Call is the system built-in NTVDM, a DOS virtual machine. It is completely a virtual PC-like environment, and the system itself is not very connected. When we run a DOS program at the command prompt, it is actually automatically transferred to the
trees.Appwiz.cpl------------Add a Remove programControl userpasswords2--------User account Settingscleanmgr-------Waste FinishingThe CMD--------------command prompt can be thought of as an attachment to Windows that ping,convert these features that cannot be used in a graphical environment.CMD------jview View the Java Virtual Machine version.Command.com------Call is the system built-in NTVDM, a DOS virtual machine. It is completely a virtual PC-like
PolicyRun the command encyclopedia under XP. $Systemroot $documents and Settingsusername directory Appwiz.cpl------------Add a Remove program Control userpasswords2--------User account Settings cleanmgr-------Waste Finishing The CMD--------------command prompt can be thought of as an attachment to Windows that ping,convert these features that cannot be used in a graphical environment. CMD------jview View the Java Virtual Machine version. Command.com------Call is the system built-in
in the batch file.Sort to categorize the input.Start starts another window to run the specified program or command.SUBST associates the path with a drive letter.Time displays or sets the system times.The TITLE sets CMD. The window caption of the EXE session.Tree displays the directory structure of a drive or path in graphical mode.TYPE Displays the contents of the text file.VER shows the version of Windows.VERIFY tell Windows whether to verify that the file is correctWrite to disk.VOL Displays
Appwiz. Cpl ------------ add and delete Program Control userpasswords2 -------- user account settingsCleanmgr ------- garbage collectionCMD -------------- a command prompt can be used as an attachment for Windows. Ping, convert, and other functions that cannot be used in the graphic environment must be used.CMD ------ view the Java Virtual Machine version in JView.Command.com ------ the call is the built-in NTVDM of the system, a DOS virtual machine.
ViewJavaVirtual Machinesversion.Command.com------ Call is the system built -in NTVDM, a DOS virtual machine. It's completely a Virtual PC - likeVirtual Environments, and the system itself is not very connected. When we run a DOS program at the command prompt , it is actually automatically transferred to the NTVDM virtual machine, which has nothing to do with the CMD itself. Calc----------- Start Calculat
that cannot be used in a graphical environment can be done with it. CMD------jview View the Java Virtual Machine version. Command.com------ Call is the system built-in NBSP;NTVDM, a dos virtual machine. It is completely a virtual environment similar to NBSP;VIRTUALNBSP;PC, and the system itself is not very connected. When we run the DOS program at the command prompt, actually is automatically transferred to the NBSP;
Windows. Ping, Convert, and other functions that cannot be used in the graphic environment must be used.
Cmd ------ view the Java Virtual Machine version in jview.
Command.com ------ the call is the built-in NTVDM of the system, a DOS virtual machine. It is a Virtual environment similar to Virtual PC and has little connection with the system itself. When we run the DOS program at the command prompt, it is actually automatically transferred to the
graphic environment must be used.
CMD ------ view the Java Virtual Machine version in JView.
Command.com ------ the call is the built-in NTVDM of the system, a DOS virtual machine. It is a virtual environment similar to Virtual PC and has little connection with the system itself. When we run the DOS program at the command prompt, it is actually automatically transferred to the NTVDM virtual machine. It has
to verify that the file is correctWrite Data to the disk.VOL Displays the volume label and serial number of the disk.Xcopy copies the file and directory tree.
Appwiz. Cpl ------------ add and delete a program
Control userpasswords2 -------- user account settings
Cleanmgr ------- garbage collection
CMD -------------- a command prompt can be used as an attachment for Windows. Ping, convert, and other functions that cannot be used in the graphic environment must be used.
CMD ------
deletion program
Control userpasswords2--------User account Settings
cleanmgr-------Garbage sorting
CMD--------------command prompt can be used as an attachment to Windows, Ping,convert these features that cannot be used in a graphical environment.
CMD------jview View the Java Virtual Machine version.
Command.com------Call is the system's built-in NTVDM, a DOS virtual machine. It is completely a virtual PC-like environment, and the system itself
set CMD. The window caption for the EXE session.
Tree displays the directory structure of the drive or path in graphical mode.
TYPE Displays the contents of the text file.
VER Displays the Windows version.
VERIFY tell Windows whether to verify that the file is correct
Write to disk.
VOL Displays the disk volume label and serial number.
XCOPY replicates files and directory trees.
Appwiz.cpl------------Add a deletion program
Control userpasswords2--------User account Settings
cleanmgr--
They are essentially different: 1: One is a 16 DOS program, and one is a standard 32 Windows application. The former is still subject to 64KB memory segmentation constraints, The latter is carefree with the 4GB memory address space. They are already running on different operating systems. Don't confuse them. DOS programs can run on Windows because there are NTVDM. And you put the VC generated by the console program in DOS will only get!? This program
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.